<template>
	<div v-html="state.code"> </div>
</template>
<script>
	import { reactive } from 'vue'
  export default {
    setup() {
      const state = reactive({code:'<p>我是一个段落</p>'})
      return {state}
    }
  }
</script>